package com.pz.cloud.framework.business.workflow.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 流程处理记录model
 * @author 3hmzz
 */
@Data
@ApiModel(value = "ProcessRecordModel对象", description = "流程处理记录")
public class ProcessRecordModel {
    /**
     * 任务id
     */
    private String id;

    /**
     * 任务名称,activiti的名称
     */
    @ApiModelProperty(value = "任务名称")
    private String taskName;

    /**
     * 处理时间
     */
    @ApiModelProperty(value = " 处理时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dealTime;
    /**
     * 处理人名称
     */
    @ApiModelProperty(value = "处理人名称")
    private String dealUserName;

    /**
     * 审批意见
     */
    @ApiModelProperty(value = "审批意见")
    private String opinion;

    /**
     * 审批结果
     */
    @ApiModelProperty(value = "审批结果")
    private String result;

    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
